services.restic.backups.<name>.command

Command to pass to --stdin-from-command. If null or an empty array, and paths/dynamicFilesFrom are also null, no backup command will be run.

Type
list of string
Default
[ ]
Example
[
  "sudo"
  "-u"
  "postgres"
  "pg_dumpall"
]
Declared
<nixpkgs/nixos/modules/services/backup/restic.nix>